package iotwisp.school.user.service;

import iotwisp.base.orm.BaseDao;
import org.hibernate.Criteria;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import iotwisp.school.user.entity.ApiOperate;
import iotwisp.school.user.qo.ApiOperateQO;

@Service
@Transactional
public class ApiOperateService extends BaseDao<ApiOperate, ApiOperateQO> {

    @Override
    protected Criteria buildCriteria(Criteria criteria, ApiOperateQO qo) {
        return criteria;
    }

    @Override
    protected Class<ApiOperate> getEntityClass() {
        return ApiOperate.class;
    }
}
